package com.langfeiyes.pattern.bridge.v1;


//抽象部分-支付平台
public abstract class PayPlaform {
    private IPay pay;
    public PayPlaform(IPay pay) {
        this.pay = pay;
    }
    public void pay(int money){
        pay.pay(money);
    }
}
